:root {
    --main-color: #0055FF;
    --secondary-color-dark: #333333;
    --secondary-color-medium: #666666;
    --accent-color: #FFA500;
    --text-color-title: #FFFFFF;
    --text-color-body: #CCCCCC;
    --background-color: #f3f3f3;
    --line-light: #F5F5F5;
}

body{
    background-color:var(--background-color);
    width: 100%;
}
.ai-contain{
    width:1200px;
    margin:auto;
}

/*================================导航栏 START==============================*/
.ht{
    display: flex;
    justify-content: space-between;
    line-height: 32px;
    color: var(--secondary-color-medium);

    .h-login a{
        padding: 0 5px;
        color: var(--secondary-color-medium);
    }
    .h-login a:focus, a:hover{
        color: var(--main-color);
    }
}
.hi{
    background: url("../images/news/title.jpg");
    height:101px;
    background-size: cover;
}

.navbar{
    padding:0;
}
.navbar-nav{
    .nav-item{
        padding:10px;

        .nav-link{
            color: var(--text-color-body);
        }
    }

    .active{
        background-color: var(--secondary-color-medium);
    }
}
/*================================导航栏 END==============================*/
.main{
    min-height:800px;
    height:auto;
    background-color: var(--text-color-title);
    display: flex;
    padding-bottom: 80px;

    .left{
        width:850px;
        padding:30px;

        .l-content{

            margin-top:30px;

            .c-title{
                border-bottom: var(--line-light) 1px solid;
                display: flex;
                justify-content: space-between;

                .t-t{
                    line-height: 45px;
                    border-bottom: var(--main-color) 2px solid;
                    width:100px;
                    text-align: center;
                    font-size: 18px;
                }

                .t-more{
                    line-height:45px;

                    a{
                        color: var(--text-color-body);
                    }
                }
            }
            .c-title-main{
                border-bottom: var(--main-color) 1px solid;
            }

            .c-content{
                padding: 30px 5px 0 5px;

                table {
                    margin: 10px 0;
                    text-align: center;

                    td,th{
                        border: 1px #e2e3e5 solid;
                        height: 36px;
                        padding: 0 10px;
                    }
                }

                .title-bg{
                    text-align: center;
                    padding: 30px 0;
                    /*background-image: url("../images/title-bg.png");*/
                    /*background-repeat: no-repeat;*/
                    /*background-size: cover;*/
                    /*background-position: center;*/
                    display: grid;
                    place-items: center;
                }

                .c-item{
                    padding:5px;

                    .i-c{
                        margin-top: 10px;
                        font-size: 16px;
                    }

                    .c-img{
                        width:100%;
                        height:100%;
                        overflow: hidden;

                        img{
                            width: 100%;
                            height: 100%;
                            object-fit: cover; /* 让图片按比例填充容器，保持图片完整且填满空间 */
                            transition: transform 0.3s ease;
                        }
                    }
                }

                /* 新闻动态通知列表 */
                .news-list{

                    .l-group{
                        display: flex;
                        margin: 20px 0;

                        .l-item{
                            padding-left:20px;
                            display: grid;
                            max-width: 560px;

                            .i-title{
                                font-size: 20px;
                                color: var(--secondary-color-dark);
                            }
                            .i-time{
                                color: var(--text-color-body);
                            }
                        }
                    }

                    .l-group-no{
                        margin: 20px 0;
                        display: flex;
                        justify-content: space-between;

                        .n-title{
                            font-size: 20px;
                            color: var(--secondary-color-dark);
                        }

                        .n-time{
                            line-height: 32px;
                            padding-right: 10px;
                            color: var(--text-color-body);
                        }
                    }

                    .l-line{
                        border-bottom: 1px var(--line-light) solid;
                    }
                }
            }
        }
    }


    .right{
        padding: 10px 20px 20px 0px;
        width:345px;

        .r-box{

            margin-bottom: 20px;

            .box-line{
                display: block;
                border-width: 1px;
                border-color: var(--line-light);
                border-style: dashed;
                height: 1px;
                line-height: 1px;
            }

            .box-t{
                background-color: var(--main-color);
                color: var(--text-color-title);
                padding:5px 10px;
                line-height: 45px;
                border: none;

                .t-body{
                    color: var(--background-color);
                }
            }

            .box-c{
                padding: 0 10px;
                border: var(--line-light) 1px solid;
                .box-group{
                    display: flex;
                    justify-content: space-between;
                    line-height: 45px;
                    padding: 5px 0;
                }
            }

            .c-title{
                border-bottom: var(--line-light) 1px solid;
                margin-bottom: 10px;

                .t-t{
                    line-height: 45px;
                    border-bottom: var(--main-color) 2px solid;
                    width:100px;
                    text-align: center;
                    font-size: 18px;
                }

            }
        }
    }
}

.panel{
    width:100%;

    h5{
        margin: 30px 0;
    }

    .group{
        display: flex;
        flex-wrap: wrap;
        justify-content: normal;

        .group-item{
            min-height:60px;
            background: #f5f8ff;
            box-shadow: 0px 1px 10px 1px rgba(50, 105, 255, 0.1);
            border-radius: 8px;
            margin-right: 20px;
            margin-bottom: 20px;
            overflow: hidden;
            display: flex;
            transition: background-color 0.5s, color 0.5s;
            /*width: calc((100% - 60px)/3);*/

            .group-item-content{
                font-size: 14px;
                padding: 18px 24px;
                margin: 0;
            }
        }
        li:hover{
            background: #F2F2F2;
        }

        .item-card{
            margin-bottom: 20px;
            h5{
                margin: 20px 10px;
                color: #0067f4;
            }
            p{
                font-size: 14px;
                margin:10px 10px;
            }
        }
    }
}

/** 右侧栏推荐*/
.recommend{
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: var(--text-color-body);
}

/** 对外合作*/
.cooper{
    form{
        padding: 12px 12px;
    }
    .right-btn{
        color: #fff;
    }
    input{
        border-radius: 4px;
        margin-top: 20px;
        height: calc(1.5em + .75rem + 8px);
    }
    input::placeholder{
        color: #87CEFA;
    }
    select{
        border-radius: 4px;
        margin-top: 20px;
        height: calc(1.5em + .75rem + 8px);
        color: #87CEFA;

        option:first-child{
            color: #87CEFA;
        }

        option{
            color: #495057;
        }
    }
    textarea{
        border-radius: 4px;
        margin-top: 20px;
        height: calc((1.5em + .75rem + 8px)*3);
    }
    textarea::placeholder{
        color: #87CEFA;
    }
}

/** 按钮 */
.content-btn {
    margin-top:30px;
    color: #fff;
    background: var(--main-color);
    display: inline-block;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 2px solid transparent;
    padding: 0 32px;
    font-size: 16px;
    cursor: pointer;
    z-index: 5;
    -webkit-transition: all 0.4s ease-out 0s;
    -moz-transition: all 0.4s ease-out 0s;
    -ms-transition: all 0.4s ease-out 0s;
    -o-transition: all 0.4s ease-out 0s;
    transition: all 0.4s ease-out 0s;
    position: relative;
    text-transform: uppercase;
    border-radius: 4px;
}

/**友情链接 */
.friend-link{
    padding: 10px;
    width: 200px;
    background: var(--secondary-color-medium);
    box-shadow: 0px 1px 10px 1px rgba(50, 105, 255, 0.1);
    border-radius: 8px;
    margin-right: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    display: list-item;
    transition: background-color 0.5s, color 0.5s;
}


/*===== BACK TO TOP =====*/
.back-to-top {
    font-size: 20px;
    color: #fff;
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 45px;
    height: 45px;
    line-height: 45px;
    border-radius: 5px;
    background-color: var(--main-color);
    text-align: center;
    z-index: 99;
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
    display: none; }
.back-to-top:hover {
    color: #fff;
    background-color: var(--main-color); }


.footer{
    background-color: #222222;
    color: #444444;
    border-top:2px var(--main-color) solid;

    .f-up{
        padding: 20px 0;

        .f-item{
            line-height: 28px;
        }
    }

    .f-down{
        background-color: #000000;
        .f-item{
            line-height: 48px;
        }
    }

}

/*===================================登陆、注册==================================================*/
.login{
    margin:0 auto;
    padding:110px 20px;
    width:400px;
    .forget{
        margin-left:200px;
    }

    .l-btn{
        background-color: var(--main-color);
    }
    .r-btn{
        background-color: #FFFFFF;
        border: var(--main-color) 1px solid;
        color:var(--main-color);
    }
}

.art-content{
    line-height: 1.8;
}

